import { SetMetadata } from '@nestjs/common';

export const IS_PUBLIC_KEY = 'isPublic';
export const Public = () => SetMetadata(IS_PUBLIC_KEY, true);

export const IS_PUBLIC_KEY_GROCERY = 'isPublic';
export const Public_grocery = () => SetMetadata(IS_PUBLIC_KEY_GROCERY, true);

export const IS_PUBLIC_KEY_CUSTOM = 'isPublicCustom';
export const Public_custom = () => SetMetadata(IS_PUBLIC_KEY_CUSTOM, true);
